package com.zhihui.qi_mai.web.dao.pojo;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
/**
 * null
 * 实体类对应的数据表为：  b_permission_path_relation
 * @author ViJay
 * @date 2018-12-11 17:51:21
 */
public class PermissionPathRelation implements Serializable {
    private Integer id;

    private Integer ppId;

    private Integer pId;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createAt;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table b_permission_path_relation
     *
     * @mbg.generated 2018-12-11 17:51:21
     */
    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPpId() {
        return ppId;
    }

    public void setPpId(Integer ppId) {
        this.ppId = ppId;
    }

    public Integer getpId() {
        return pId;
    }

    public void setpId(Integer pId) {
        this.pId = pId;
    }

    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    public Date getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Date createAt) {
        this.createAt = createAt;
    }
}